import sys, os


def dump_bytes(data):
    if isinstance(data, bytes):
        text = repr(data)
        return text[1:]
    return repr(data)